package com.xq.xq.kotlinlearnsingletom.kotlin

class LazySingleton private constructor() {
    companion object {
        val instance: LazySingleton by lazy {
            LazySingleton()
        }
    }

    fun eat(food: String) {
        println("lazy: eat $food")
    }
}